// 接⼝当成⾃定义类型去使⽤
var person2 = {
    name: '张三',
    age: 18,
    speak: function () {
        console.log('你好！');
    }
};
var person = {
    name: '张三',
    age: 18,
    speak: function () {
        console.log('你好！');
    }
};
